package com.doge.calcalbum.business.calc

import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.doge.calcalbum.core.base.adapters.AdapterCallback
import com.doge.calcalbum.databinding.CellCalcHistoryBinding

class CalcViewHolder(
    parent: ViewGroup,
    callback: AdapterCallback,
    private val binding: CellCalcHistoryBinding =
        CellCalcHistoryBinding.inflate(LayoutInflater.from(parent.context), parent, false),
) : RecyclerView.ViewHolder(binding.root) {
    fun bind(item: String) {
        binding.value.text = item
    }
}